package cn.neusoft.pojo;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@ToString
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Address {

    private Integer addressId;
    private String contactName;
    private Integer contactGender;
    private String contactTel;
    private String address;
    private Integer userId;

    public Address(Integer addressId, String contactName, Integer contactGender, String contactTel, String address, Integer userId) {
        this.addressId = addressId;
        this.contactName = contactName;
        this.contactGender = contactGender;
        this.contactTel = contactTel;
        this.address = address;
        this.userId = userId;
    }

    private User user;
}
